package com.tongcao.cn.executor;

import com.tongcao.cn.base.req.IRequest;
import com.tongcao.cn.dfire.result.Result;

/**
 * @Author:tongcao
 * @Date:2019/1/24 15:58
 * Description:
 */
public interface IBookerExecutor<REQ extends IRequest, RSP> {

    /**
     * 执行器
     *
     * @param request
     * @return
     */
    Result<RSP> execute(REQ request);
}
